* {
  margin: 0;
  padding: 0;
}

* body .container {
  width: 600px;
  height: 400px;
  border: 1px solid black;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

* body .container ul {
  position: absolute;
  left: 0;
  height: 100%;
}

* body .container ul li {
  list-style: none;
  width: 600px;
  height: 400px;
  float: left;
}

* body .container ul li img {
  width: 100%;
  height: 100%;
}

* body .container ol {
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

* body .container ol li {
  color: red;
  margin-left: 10px;
  list-style: none;
  display: inline-block;
  cursor: pointer;
}

* body .container ol .active {
  color: #fff;
  font-size: 20px;
}

* body .container .left,
* body .container .right {
  position: absolute;
  left: 0;
  top: 50%;
  background: #fff;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  color: #333;
  text-align: center;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  cursor: pointer;
}

* body .container .right {
  left: auto;
  right: 0;
}

* body .container .but-none {
  display: none;
}

* body .container .but-hover {
  display: none;
}

* body .container:hover .but-hover {
  display: block;
}
